﻿using UnityEngine;
using System.Collections;

public delegate void EventHandler (BaseEvent e);

public interface IEventDispatcher:IInterface
{
	void addEventListener (string astrEventName, EventHandler listener);
    void removeEventListener (string astrEventName, EventHandler listener);
	bool dispatchEvent (BaseEvent e);
	bool hasEventListener (string astrEventName);
}
